package cn.wolfcode.wms.service;

import cn.wolfcode.wms.domain.Role;
import cn.wolfcode.wms.page.PageResult;
import cn.wolfcode.wms.qo.QueryObject;

import java.util.List;

public interface IRoleService {

    List<Role> listAll();

    Role getById(Long id);

    void saveOrUpdate(Role obj, Long[] ids, Long[] menuIds);

    void delete(Long id);

    PageResult query(QueryObject qo);
}
